# _*_coding:utf-8 _*_
# @Time　　:2021/3/14 16:58
# @Author　 : wangyong
# @File　　  :setup_class_01.py
# @Software  :PyCharm


class TestDemo:

    @classmethod
    def setup_class(cls):
        print("我是case类执行之前的操作")

    def setup_method(self):
        print("我是setup_method")

    def teardown_method(self):
        print("我是teardown_method")

    @classmethod
    def teardown_class(cls):
        print("我是case类执行之后的操作")

    def test_01(self):
        print("我是test01")
        assert True

    def test_02(self):
        print("我是test02")
        assert True
